package com.qzsoft.zhjd.laboratory.modules.tensionProcess.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * (TensionProcess)表实体类
 *
 * @author makejava
 * @since 2023-07-13 14:36:30
 */
@Data
@TableName("tension_process")
public class TensionProcess implements Serializable {
    private static final long serialVersionUID = 6096533255564543262L;
    //id
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    //记录编号
    private String code;
    //设备编号
    private String equipmentNumber;
    //孔号
    private String holeNumber;
    //记录时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;
    //张拉此时
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date tensionTime;
    //状态1
    private String status1;
    //张拉力1（千牛顿）
    private BigDecimal tensionForce1;
    //油压1（兆帕）
    private BigDecimal oilPressure1;
    //顶行程1（毫米）
    private BigDecimal topStroke1;
    //伸长量1（毫米）
    private BigDecimal elongation1;
    //状态2
    private String status2;
    //张拉力2（千牛顿）
    private BigDecimal tensionForce2;
    //油压2（兆帕）
    private BigDecimal oilPressure2;
    //顶行程2（毫米）
    private BigDecimal topStroke2;
    //伸长量2（毫米）
    private BigDecimal elongation2;
    //伸长量总和（毫米）
    private BigDecimal totalElongation;
    //设计伸长量（毫米）
    private BigDecimal designElongation;
    
    private Long createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    
    private Long updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private String linkCode;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getEquipmentNumber() {
        return equipmentNumber;
    }

    public void setEquipmentNumber(String equipmentNumber) {
        this.equipmentNumber = equipmentNumber;
    }

    public String getHoleNumber() {
        return holeNumber;
    }

    public void setHoleNumber(String holeNumber) {
        this.holeNumber = holeNumber;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public String getStatus1() {
        return status1;
    }

    public void setStatus1(String status1) {
        this.status1 = status1;
    }

    public BigDecimal getTensionForce1() {
        return tensionForce1;
    }

    public void setTensionForce1(BigDecimal tensionForce1) {
        this.tensionForce1 = tensionForce1;
    }

    public BigDecimal getOilPressure1() {
        return oilPressure1;
    }

    public void setOilPressure1(BigDecimal oilPressure1) {
        this.oilPressure1 = oilPressure1;
    }

    public BigDecimal getTopStroke1() {
        return topStroke1;
    }

    public void setTopStroke1(BigDecimal topStroke1) {
        this.topStroke1 = topStroke1;
    }

    public BigDecimal getElongation1() {
        return elongation1;
    }

    public void setElongation1(BigDecimal elongation1) {
        this.elongation1 = elongation1;
    }

    public String getStatus2() {
        return status2;
    }

    public void setStatus2(String status2) {
        this.status2 = status2;
    }

    public BigDecimal getTensionForce2() {
        return tensionForce2;
    }

    public void setTensionForce2(BigDecimal tensionForce2) {
        this.tensionForce2 = tensionForce2;
    }

    public BigDecimal getOilPressure2() {
        return oilPressure2;
    }

    public void setOilPressure2(BigDecimal oilPressure2) {
        this.oilPressure2 = oilPressure2;
    }

    public BigDecimal getTopStroke2() {
        return topStroke2;
    }

    public void setTopStroke2(BigDecimal topStroke2) {
        this.topStroke2 = topStroke2;
    }

    public BigDecimal getElongation2() {
        return elongation2;
    }

    public void setElongation2(BigDecimal elongation2) {
        this.elongation2 = elongation2;
    }

    public BigDecimal getTotalElongation() {
        return totalElongation;
    }

    public void setTotalElongation(BigDecimal totalElongation) {
        this.totalElongation = totalElongation;
    }

    public BigDecimal getDesignElongation() {
        return designElongation;
    }

    public void setDesignElongation(BigDecimal designElongation) {
        this.designElongation = designElongation;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

